import 'package:json_annotation/json_annotation.dart';

part 'business_level.g.dart';

@JsonSerializable()
class BusinessLevel {
  final int id;
  final String cardImage;
  final String businessType;
  final String businessTypeName;
  final String businessLevel;
  final String businessLevelName;
  final String description;

  BusinessLevel(
    this.id,
    this.cardImage,
    this.businessType,
    this.businessTypeName,
    this.businessLevel,
    this.businessLevelName,
    this.description,
  );

  factory BusinessLevel.fromJson(Map<String, dynamic> json) => _$BusinessLevelFromJson(json);

  Map<String, dynamic> toJson() => _$BusinessLevelToJson(this);
}
